{template 'common/header'}

<style>
	body{
	font:{$_W['styles']['fontsize']} {$_W['styles']['fontfamily']};
	color:{$_W['styles']['fontcolor']};
	padding:0;
	margin:0;
	background-size:cover;
	background-color:{if empty($_W['styles']['indexbgcolor'])}#ECECEC{else}{$_W['styles']['indexbgcolor']}{/if};
	{$_W['styles']['indexbgextra']}
	}
	a{color:{$_W['styles']['linkcolor']}; text-decoration:none;}
	{$_W['styles']['css']}
	.box{width:100%; min-height:476px; background:url('{if empty($_W['styles']['indexbgimg'])}./themes/style44/images/bg_index.jpg{else}{$_W['styles']['indexbgimg']}{/if}'); background-size:cover; position:relative;}
	.box .box3{position:absolute; bottom:0px; width:100%;}
	.box .box2{float:left; display:block; width:33.3%; height:100px; background: rgba(0,0,0,0.7); }
	.box .box-item{display:block; text-decoration:none; outline:none; width:90px; height:90px; margin:5px auto; color:#FFF; border-radius:50%; background:rgba(231,211,202,0.5);/*background:transparent url('./themes/style44/images/bg-01.jpg') no-repeat;*/ background-size:cover; padding:10px; overflow:hidden;}
	.box .box-item i{display:block; height:60%; line-height:100%; font-size:35px; color:#FFF; overflow:hidden; text-align:center; padding-top:5px;}
	.box .box-item span{color:{$_W['styles']['fontnavcolor']};display:block; height:20px; line-height:20px; font-size:14px; width:98%; text-align:center; overflow:hidden;}

	.list li{padding: 5px 5px 0 5px; list-style:none;}
	.list li a{display:block; height:71px; padding:5px;background:#FFF; border:1px #DDD solid; border-radius:3px;color:#333; overflow:hidden; text-decoration:none !important; position:relative;}
	.list li a .thumb{width:80px; height:60px;}
	.list li a .title{font-size:14px; padding-left:90px;}
	.list li a .createtime{font-size:12px; color:#999; position:absolute; bottom:5px;padding-left:90px;}
</style>
<div class="box clearfix">
	<div class="box3">
	{data func="site_navs" item="row"}
	<div class="box2">
		{$row['html']}
	</div>
	{php if($row['iteration'] > 5) break;}
	{/data}
	</div>
</div>

<!--内容栏-->
<div class="list clearfix">
	{data module="site" func="site_article" cid="$cid" assign="result" return="true"}
	{loop $result['list'] $row}
	<li>
		<a href="{$row['linkurl']}">
			{if $row['thumb']}<img src="{$row['thumb']}" class="pull-left thumb" onerror="this.parentNode.removeChild(this)" />{/if}
			<div class="title">{$row['title']}</div>
			<div class="createtime">{php echo date('Y-m-d H:i:s', $row['createtime'])}</div>
		</a>
	</li>
	{/loop}
</div>

{template 'common/footer'}